#pragma once

#include <iostream>
#include <vector>

typedef void (*task_t)();

void task1()
{
    std::cout << "永劫无间 刷新日志\n" << std::endl;
}
void task2()
{
    std::cout << "永劫无间 更新回阳镜\n" << std::endl;
}
void task3()
{
    std::cout << "永劫无间 检测软件是否更新，如果需要就提示用户\n" << std::endl;
}
void task4()
{
    std::cout << "永劫无间 角色释放技能，更新用的血量和蓝量\n" << std::endl; 
}

void LoadTask(std::vector<task_t>* tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}